package com.xmut.mall.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmut.mall.store.entity.StoreRegionEntity;

import java.util.List;


public interface StoreRegionService extends IService<StoreRegionEntity> {
    /**
     * 初始化地区选择器
     * @return
     */
    List<StoreRegionEntity> initRegion();

    /**
     * 根据父Id获取地区信息
     * @param parentId
     * @return
     */
    List<StoreRegionEntity> getRegionByParentId(Long parentId);
}
